package cn.xhy.module.purchase.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * System 错误码枚举类
 * <p>
 * system 系统，使用 1-002-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== 单据编号 1-002-029-000 ==========
    ErrorCode MATERIAL_DEMAND_NOT_EXISTS = new ErrorCode(1_002_029_000, "单据不存在");
    ErrorCode PROJECT_ORDER_NOT_EXISTS = new ErrorCode(1_002_029_001, "项目物资申请单不存在");

    ErrorCode RECEIVABLE_SUBMIT_FAIL_NOT_DRAFT = new ErrorCode(1_020_004_003, "物资申请单提交审核失败，原因：单据没处在未提交状态");

    ErrorCode CONTRACT_UPDATE_AUDIT_STATUS_FAIL_NOT_PROCESS = new ErrorCode(1_020_000_003, "更新合同审核状态失败，原因：合同不是审核中状态");

    ErrorCode DOCUMENT_SERIAL_NOT_EXISTS = new ErrorCode(1_020_000_004, "单据序号不存在");
    ErrorCode DOCUMENT_SERIALN_NOT_EXISTS = new ErrorCode(1_020_000_004, "单据标识不存在");
}
